package com.myapp.war.beans;

public class WarHeroBean {

	private int heroId = 0;

	private int x = 0;

	private int y = 0;

	// 放置英雄的时间
	private long insertTime = 0;

	public WarHeroBean(int heroId, int x, int y) {
		this.heroId = heroId;
		this.x = x;
		this.y = y;
		insertTime = System.currentTimeMillis();
	}

	public int getHeroId() {
		return heroId;
	}

	public void setHeroId(int heroId) {
		this.heroId = heroId;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public long getInsertTime() {
		return insertTime;
	}

	public void setInsertTime(long insertTime) {
		this.insertTime = insertTime;
	}

}
